/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package btracker;

import javax.swing.*;

/**
 *
 * @author Sammy
 */
public class DataTable {

    static JTable tblData; //table containing all of the data
    static JButton btnNewEntry; //allow user to create a new row in the data table
    static int NUMMBER_COLUMNS = 6;

    public static void drawTable() {


        MainWindow.pnlDataTable = new JPanel();





        tblData = new JTable(StoredData.numOfEntry ,NUMMBER_COLUMNS);
        btnNewEntry = new JButton("New Entry");

        

        MainWindow.pnlDataTable.add(tblData);
    }
}
